export const getNavigationBarHeight = () => {
  const systemInfo = uni.getSystemInfoSync();
  const { statusBarHeight, platform } = systemInfo;
  let navHeight = 0;
  if (platform === 'ios') {
    navHeight = 44;
  } else if (platform === 'android') {
    navHeight = 48;
  }
  return statusBarHeight;
};